#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>

int main()
{
	double a, b, c, disc, x1, x2;
	scanf("%lf %lf %lf", &a, &b, &c);
	disc = b * b - 4 * a * c;
	if (disc < 0)
	{
		printf("this equation has't real roots.\n");

	}
	else
	{
		x1 = (-b - sqrt(disc)) / (2 * a);
		x2 = (-b + sqrt(disc)) / (2 * a);
		printf("x1=%.2f,x2=%.2f\n", x1, x2);
	}

	return 0;
}